/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.javscaz.javscaztools;

import javax.swing.table.DefaultTableModel;

/**
 *
 * @author avbravo
 */
public class Utilidades {
    public static DefaultTableModel limpiarModelo(DefaultTableModel modelo)
    {
         if (modelo != null) {
                while (modelo.getRowCount() > 0) {
                    modelo.removeRow(0);
                }
            }
         return modelo;
    }
}
